﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebApplication/MasterPageUsers.master" AutoEventWireup="true" CodeFile="EditAccountDetails.aspx.cs" Inherits="WebApplication_EditAccountDetails" %>

<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

            <div id="content">
                        
                           
                            
                <span style="font-size: x-large">
                <span style="font-family: 'Modern No. 20'; color: #66CCFF"><strong>
                <span style="background-color: #CCFFFF">EDIT </span>
                <asp:Label ID="Label1" runat="server" Text="Label" 
                    style="background-color: #CCFFFF"></asp:Label>
                <span style="background-color: #CCFFFF">&#39;S DETAILS</span></strong></span><br />
                </span><br />
                <table style="width: 100%">
                    <tr>
                        <td style="text-align: left; width: 179px">
                            Current
                            Password:</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtPass" runat="server" TextMode="Password" Width="190px" 
                                ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="text-align: left">
                            <asp:Label ID="Label2" runat="server" ForeColor="#FF6600"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="txtPass" Display="Dynamic" 
                                ErrorMessage="Password is required!" ValidationGroup="1" 
                                ForeColor="#FF6600"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width: 179px">
                            New Password:</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtNPass" runat="server" TextMode="Password" Width="190px" 
                                ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="text-align: left">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ControlToValidate="txtNPass" ErrorMessage="New Password is required!" 
                                ValidationGroup="1" Display="Dynamic" ForeColor="#FF6600"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                ControlToValidate="txtNPass" Display="Dynamic" 
                                ErrorMessage=" Password must be at least 6 characters,  must include at least one upper case letter, one lower case letter, and one numeric digit." 
                                ValidationExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}$" 
                                ForeColor="#FF6600" ValidationGroup="1"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; height: 33px; width: 179px">
                            Confirm Password:</td>
                        <td style="height: 33px; text-align: left">
                            <asp:TextBox ID="txtCPass" runat="server" TextMode="Password" Width="190px" 
                                ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="height: 33px; text-align: left">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ControlToValidate="txtCPass" Display="Dynamic" 
                                ErrorMessage="Confirm Password is required!" ValidationGroup="1" 
                                ForeColor="#FF6600"></asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ControlToCompare="txtNPass" ControlToValidate="txtCPass" Display="Dynamic" 
                                ErrorMessage="Confirm Password is not matched!" ValidationGroup="1" 
                                ForeColor="#FF6600"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width: 179px">
                            Fullname:</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtFName" runat="server" Width="189px" ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="text-align: left">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ControlToValidate="txtFName" ErrorMessage="Fullname is required!" 
                                ValidationGroup="1" ForeColor="#FF6600"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width: 179px">
                            Email:</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtEmail" runat="server" Width="190px" ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="text-align: left">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                ControlToValidate="txtEmail" Display="Dynamic" 
                                ErrorMessage="Email is required!" ValidationGroup="1" ForeColor="#FF6600"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ControlToValidate="txtEmail" Display="Dynamic" 
                                ErrorMessage="Wrong Email format!" 
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                                ValidationGroup="1" ForeColor="#FF6600"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width: 179px">
                            Comfirm Email:</td>
                        <td style="text-align: left">
                            <asp:TextBox ID="txtEmail1" runat="server" Width="190px" ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="text-align: left">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                ControlToValidate="txtEmail1" ErrorMessage="Confirm Email is required" 
                                Display="Dynamic" ValidationGroup="1" ForeColor="#FF6600"></asp:RequiredFieldValidator>
                            <asp:CompareValidator ID="CompareValidator2" runat="server" 
                                ControlToCompare="txtEmail" ControlToValidate="txtEmail1" 
                                ErrorMessage="Confirm Email is not matched" Display="Dynamic" 
                                ValidationGroup="1" ForeColor="#FF6600"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; height: 33px; width: 179px">
                            Phone number:</td>
                        <td style="text-align: left; height: 33px">
                            <asp:TextBox ID="txtPhone" runat="server" Width="190px" ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="text-align: left; height: 33px">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                ControlToValidate="txtPhone" Display="Dynamic" 
                                ErrorMessage="Phone number is required!" ValidationGroup="1" 
                                ForeColor="#FF6600"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                ControlToValidate="txtPhone" Display="Dynamic" 
                                
                                
                                ErrorMessage="Phone number must be at least 7 digits and not much more than 11 digits" ValidationExpression="[0-9].{7,10}" 
                                ValidationGroup="1" ForeColor="#FF6600"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; height: 103px; width: 179px">
                            Address:</td>
                        <td style="text-align: left; height: 103px">
                            <asp:TextBox ID="txtAddress" runat="server" Height="88px" TextMode="MultiLine" 
                                Width="190px" ValidationGroup="1"></asp:TextBox>
                        </td>
                        <td style="text-align: left; height: 103px">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                ControlToValidate="txtAddress" ErrorMessage="Address is required!" 
                                ValidationGroup="1" ForeColor="#FF6600"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width: 179px">
                            &nbsp;</td>
                        <td style="text-align: left">
                            &nbsp;</td>
                        <td style="text-align: left">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: left; width: 179px">
                            &nbsp;</td>
                        <td style="text-align: left">
                            <asp:Button ID="btnUpdate" runat="server" onclick="btnUpdate_Click" 
                                Text="Update" ValidationGroup="1" BackColor="#00CC66" 
                                BorderColor="#00CC66" BorderStyle="Solid" ForeColor="White" 
                                style="font-size: medium; font-family: 'Franklin Gothic Book'; font-weight: 700" />
                        </td>
                        <td style="text-align: left">
                            &nbsp;</td>
                    </tr>
                </table>
                        
                           
                            
            </div><!--end content-->

    </asp:Content>


<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder2">
    <div id="sidebar">
        <ul class="nav">
            <li ><a class="headitem item1"  >Home</a>
                <ul >
                                        <!-- ul items without this class get hiddden by jquery-->
                                        
                                        <li><a href="Default.aspx">Welcome</a></li>
                </ul>
            </li>
            <li><a class="headitem item2" >Products</a>
                <ul >
                                        <!-- ul items without this class get hiddden by jquery-->
                                        <li><a href="Encapsulation.aspx">Encapsulation</a></li>
                    <li><a href="Tablet.aspx">Tablet</a></li>
                    <li><a href="LiquidFilling.aspx">Liquid Filling</a></li>
                </ul>
            </li>
            <li><a class="headitem item3" >Career</a>
                <ul class="opened">
                                        <!-- ul items without this class get hiddden by jquery-->
                                        
                                        <li class="current"><a href="RegisterForm.aspx">Register</a></li>
                    <li><a href="Resume.aspx">Upload Resume file</a></li>
                </ul>
            </li>
            <li><a class="headitem item8" >Login</a>
                <ul >
                                        <!-- ul items without this class get hiddden by jquery-->
                                        
                                        <li><a href="Login.aspx">Login</a></li>
                </ul>
            </li>
            <li><a class="headitem item4" >Quote Us</a>
                <ul >
                                        <!-- ul items without this class get hiddden by jquery-->
                                        
                                        <li><a href="QuoteUs.aspx">Quote Us</a></li>
                </ul>
            </li>
            <li><a class="headitem item5" >About Us</a>
                <ul >
                                        <!-- ul items without this class get hiddden by jquery-->
                                        
                                        <li><a href="AboutUs.aspx">About Us</a></li>
                </ul>
            </li>
            <li><a class="headitem item9" >Contact Us</a>
                <ul >
                                        <!-- ul items without this class get hiddden by jquery-->
                                        
                                        <li><a href="ContactUs.aspx">Contact Us</a></li>
                </ul>
            </li>
            <li><a class="headitem item10" >Admin Panel</a>
                <ul >
                                        <!-- ul items without this class get hiddden by jquery-->
                                        
                                        <li><a href="ADAccounts.aspx">Admin Panel</a></li>
                </ul>
            </li>
        </ul>
                            <!--end subnav-->
                            
                            <div class="flexy_datepicker">
        </div>
        <ul>
        </ul>
    </div>
</asp:Content>



